package top.kikt.book.core.entity

import java.io.File

data class BookEntity(val metaEntity: BookMetaEntity, val chapterMetaEntityList: List<ChapterMetaEntity>) {

    lateinit var files: Map<ChapterMetaEntity, File>

    fun getFile(chapterMeta: ChapterMetaEntity): File? {
        return files[chapterMeta]
    }

}